
//---------------------------------------------------------------------------
#ifndef PG2_WINDOW_H
#define PG2_WINDOW_H
//---------------------------------------------------------------------------
#include "pg2_api.h"
//---------------------------------------------------------------------------
namespace pg2
{
//---------------------------------------------------------------------------
class PG2_API Window
{
// window creation
public:
	bool create (HINSTANCE hInstance, unsigned int uiWidth, unsigned int uiHeight);

	HWND hwnd () const;

private:
	HWND m_hWnd;


// window procedure
private:
	static LRESULT CALLBACK wndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
};
//---------------------------------------------------------------------------
#include "pg2_window.inl"
//---------------------------------------------------------------------------
} // end namespace
//---------------------------------------------------------------------------
#endif // PG2_WINDOW_H
//---------------------------------------------------------------------------
